const axios = require("axios");

function request(config) {
    const instance = axios.create({
        baseURL: "http://192.168.21.240:8080/api",
        timeout: 5000
    });
    return instance(config);
}

module.exports = {request};